package cn.gok.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: chen fan
 * @since: 2022/11/14 17:05
 * @description:
 */
//@Component
//@Data
public class MyDataSource {

    @Value("${my.datasource.driver}")
    private String dirver;
    @Value("${my.datasource.username}")
    private String username;
    @Value("${my.datasource.password}")
    private String password;

    @Value("${my.datasource.size}")
    private Integer size;

//    @Value("${my.datasource.urls}")
//    private List<String> urls;


}
